// 创建动态
import httpInstance from '@/utils/http'
export const reportTarget = (reportTargetData) => {
  return httpInstance({
    url: '/api/report/reportTarget', // 后端创建动态的接口地址
    method: 'post',
    data: reportTargetData, // 动态数据
  })
}

export const getDynamicReports = (getDynamicReportsData) => {
  return httpInstance({
    url: '/api/report/getDynamicReports', // 后端创建动态的接口地址
    method: 'post',
    data: getDynamicReportsData, // 动态数据
  })
}

export const getArticleReports = (getArticleReportsData) => {
  return httpInstance({
    url: '/api/report/getArticleReports', // 后端创建动态的接口地址
    method: 'post',
    data: getArticleReportsData, // 动态数据
  })
}

export const getCommentReports = (getCommentReportsData) => {
  return httpInstance({
    url: '/api/report/getCommentReports', // 后端创建动态的接口地址
    method: 'post',
    data: getCommentReportsData, // 动态数据
  })
}

export const getUserReports = (getUserReportsData) => {
  return httpInstance({
    url: '/api/report/getUserReports', // 后端创建动态的接口地址
    method: 'post',
    data: getUserReportsData, // 动态数据
  })
}

export const refuseReport = (refuseReportData) => {
  return httpInstance({
    url: '/api/report/refuseReport', // 后端创建动态的接口地址
    method: 'post',
    data: refuseReportData, // 动态数据
  })
}

export const banTarget = (banTargetData) => {
  return httpInstance({
    url: '/api/report/banTarget', // 后端创建动态的接口地址
    method: 'post',
    data: banTargetData, // 动态数据
  })
}
